package com.slz3.business.module.messageManagement.mesTemplate.service;

import com.slz3.business.module.messageManagement.mesTemplate.domain.MesTemplate;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;

/**
 * 非事务型 service
 */
public interface MesTemplateService {

    MesTemplate save(MesTemplate mesTemplate);

    Page<MesTemplate> page(MultiValueMap<String, String> queryParams);

    MesTemplate modify(MesTemplate mesTemplate);

    Optional<MesTemplate> single(UUID uuid);

    List<MesTemplate> findAllByUuids(Iterable<UUID> uuids);

    List<MesTemplate> delete(List<MesTemplate> mesTemplateList);

}
